bicycles = ['trek', 'cannondale', 'redline','specialized']
print(bicycles)
print(bicycles[0])
print(bicycles[0].title())
print(bicycles[-1])

motorcycles = ['honda','yamaha','suzuki']
print(motorcycles)
motorcycles[0] = 'wahaha'
print(motorcycles)

motorcycles.append('tuolaji')
print(motorcycles)

motorcycles.insert(0, "test")
print(motorcycles)

del(motorcycles[0])
print(motorcycles)

del(motorcycles[2])
print(motorcycles)

lettrs = ['A', 'B', 'C', 'D']
_d = lettrs.pop()
print(_d)
_b = lettrs.pop(1)
print(_b)

cars = ['bmw', 'audi', 'toyota', 'subaru']
print(cars)
cars.sort()
print(cars)
cars.sort(reverse=True)
print(cars)

_cars = ['bmw', 'audi', 'toyota', 'subaru']
print('ori:' + str(_cars))
print('sort:' + str(sorted(_cars)))
print(_cars)

print(_cars.reverse())
print(len(cars))